<!DOCTYPE html>
<!-- saved from url=(0064)http://localhost:8080/jeesite/a/company/companyInfo/form?id=1000 -->
<html style="overflow-x:auto;overflow-y:auto;" xmlns:th="http://www.thymeleaf.org"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>公司客户管理 - Powered By JeeSite</title>
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><meta name="author" content="http://jeesite.com/"/>
<meta name="renderer" content="webkit"><meta http-equiv="X-UA-Compatible" content="IE=8,IE=9,IE=10" />
<meta http-equiv="Expires" content="0"><meta http-equiv="Cache-Control" content="no-cache"><meta http-equiv="Cache-Control" content="no-store">
	<script th:src="@{/jquery/jquery-1.8.3.min.js}" type="text/javascript"></script>
	<link th:href="@{/bootstrap/2.3.1/css_cerulean/bootstrap.min.css}" type="text/css" rel="stylesheet" />
	<script th:src="@{/bootstrap/2.3.1/js/bootstrap.min.js}" type="text/javascript"></script>
	<link th:href="@{/bootstrap/2.3.1/awesome/font-awesome.min.css}" type="text/css" rel="stylesheet" />
	<!--[if lte IE 7]><link th:href="@{/bootstrap/2.3.1/awesome/font-awesome-ie7.min.css}" type="text/css" rel="stylesheet" /><![endif]-->
	<!--[if lte IE 6]><link th:href="@{/bootstrap/bsie/css/bootstrap-ie6.min.css}" type="text/css" rel="stylesheet" />
	<script th:src="@{/bootstrap/bsie/js/bootstrap-ie.min.js}" type="text/javascript"></script><![endif]-->
	<link th:href="@{/jquery-select2/3.4/select2.min.css}" rel="stylesheet" />
	<script th:src="@{/jquery-select2/3.4/select2.min.js}" type="text/javascript"></script>
	<link th:href="@{/jquery-validation/1.11.0/jquery.validate.min.css}" type="text/css" rel="stylesheet" />
	<script th:src="@{/jquery-validation/1.11.0/jquery.validate.min.js}" type="text/javascript"></script>
	<link th:href="@{/jquery-jbox/2.3/Skins/Bootstrap/jbox.min.css}" rel="stylesheet" />
	<script th:src="@{/jquery-jbox/2.3/jquery.jBox-2.3.min.js}" type="text/javascript"></script>
	<script th:src="@{/My97DatePicker/WdatePicker.js}" type="text/javascript"></script>
	<script th:src="@{/common/mustache.min.js}" type="text/javascript"></script>
	<link th:href="@{/common/jeesite.css}" type="text/css" rel="stylesheet" />
	<script th:src="@{/common/jeesite.js}" type="text/javascript"></script>

<script type="text/javascript">var ctx = '../a', ctxStatic='../static';</script>
	<!-- Baidu tongji analytics --><script>var _hmt=_hmt||[];(function(){var hm=document.createElement("script");hm.src="//hm.baidu.com/hm.js?82116c626a8d504a5c0675073362ef6f";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(hm,s);})();</script>
	
	
	<meta name="decorator" content="default">
	<script type="text/javascript">
		$(document).ready(function() {
			//$("#name").focus();
			$("#inputForm").validate({
				submitHandler: function(form){
					loading('正在提交，请稍等...');
					form.submit();
				},
				errorContainer: "#messageBox",
				errorPlacement: function(error, element) {
					$("#messageBox").text("输入有误，请先更正。");
					if (element.is(":checkbox")||element.is(":radio")||element.parent().is(".input-append")){
						error.appendTo(element.parent().parent());
					} else {
						error.insertAfter(element);
					}
				}
			});
		});
	</script>
	<style type="text/css">
		#table1{
			margin:1px;
			padding:1px;
		}
		#table1 tr td{
			margin:1px;
			padding:1px;
		}
	</style>

</head>
<body>
	
	<ul class="nav nav-tabs">
		<li class="active"><a th:href="@{/companyManager/companyList(pageNum=1)}">公司客户列表</a></li>
		<li><a th:href="@{/companyManager/addCompanyHtml}">公司客户添加</a></li>
	</ul><br>
	<form id="inputForm" class="form-horizontal" th:action="@{/companyManager/updateCompany(tbCompany=${tbCompany})}" method="post" novalidate="novalidate">
		<input id="id" name="id" type="hidden" th:value="${tbCompany.id}">

<script type="text/javascript">top.$.jBox.closeTip();</script>

		<table class="table table-bordered table-condensed" th:object="${tbCompany}">
			<tbody><tr>
				<td><label class="control-label">公司名称：</label></td>
				<td>
					<input id="name" name="name" class="input-xlarge required" type="text" th:value="*{name}" maxlength="100">
					<span class="help-inline"><font color="red">*</font> </span>
				</td>
				<td>
					<label class="control-label">统一信用号：</label>
				</td>
				<td>
					<input id="companyNo" name="companyNo" class="input-xlarge " type="text" th:value="*{companyNo}" maxlength="20">
				</td>
			</tr>
			<tr>
				<td><label class="control-label">电话：</label></td>
				<td><input id="telphone" name="telphone" class="input-xlarge " type="text" th:value="*{telphone}" maxlength="13"></td>
				<td><label class="control-label">邮编：</label></td>
				<td><input id="zipcode" name="zipcode" class="input-xlarge " type="text" th:value="*{zipcode}" maxlength="20"></td>
			</tr>

			<tr>
				<td><label class="control-label">法人：</label></td>
				<td><input id="owner" name="owner" class="input-xlarge " type="text" th:value="*{owner}" maxlength="30"></td>
				<td><label class="control-label">身份证号：</label></td>
				<td><input id="idCard" name="idCard" class="input-xlarge " type="text" th:value="*{idCard}" maxlength="20"></td>
			</tr>

			<tr>
				<td><label class="control-label">手机：</label></td>
				<td><input id="phone" name="phone" class="input-xlarge " type="text" th:value="*{phone}" maxlength="13"></td>
				<td><label class="control-label">性别：</label></td>
				<td><input id="sex" name="sex" class="input-xlarge " type="text" th:value="*{sex}" maxlength="2"></td>
			</tr>

			<tr>
				<td><label class="control-label">电子邮件：</label></td>
				<td><input id="email" name="email" class="input-xlarge " type="text" th:value="*{email}" maxlength="50"></td>
				<td><label class="control-label">公司性质：</label></td>
				<td><input id="ownership" name="ownership" class="input-xlarge " type="text" th:value="*{ownership}" maxlength="150"></td>
			</tr>

			<tr>
				<td><label class="control-label">状态：</label></td>
				<td>
					<select id="status" name="status" class="input-xlarge  select2-offscreen" tabindex="-1">
						<option value="">请选择</option>
						<option th:value="0" th:selected="*{status=='0'}">正常</option>
						<option th:value="1" th:selected="*{status=='1'}">删除</option>
					</select>
				</td>
				<td><label class="control-label">公司类别：</label></td>
				<td>
					<label>
						<select name="companyType" class="input-xlarge  select2-offscreen" tabindex="-1">
							<option value="">请选择</option>
							<option th:value="0" th:selected="*{companyType=='0'}">全业务客户</option>
							<option th:value="1" th:selected="*{companyType=='1'}">社保客户</option>
							<option th:value="2" th:selected="*{companyType=='2'}">公积金客户</option>
							<option th:value="3" th:selected="*{companyType=='3'}">工资代发客户</option>
							<option th:value="4" th:selected="*{companyType=='4'}">外包合作客户</option>
						</select>
					</label>
				</td>
			</tr>

			<tr>
				<td><label class="control-label">公司地址：</label></td>
				<td colspan="3"><textarea id="address" name="address" maxlength="256" th:value="*{address}" class="input-xxlarge " rows="3">硅谷广场A座</textarea></td>
			</tr>

			<tr>
				<td><label class="control-label">备注：</label></td>
				<td colspan="3"><textarea id="remark" name="remark" th:value="*{remark}" maxlength="512" class="input-xxlarge " rows="3">信誉良好公司</textarea></td>
			</tr>

		</tbody></table>

		<div class="form-actions">
			<input id="btnSubmit" class="btn btn-primary" type="submit" value="保 存">&nbsp;
			<input id="btnCancel" class="btn" type="button" value="返 回" onclick="history.go(-1)">
		</div>
	</form>

	<script type="text/javascript">//<!-- 无框架时，左上角显示菜单图标按钮。
		if(!(self.frameElement && self.frameElement.tagName=="IFRAME")){
			$("body").prepend("<i id=\"btnMenu\" class=\"icon-th-list\" style=\"cursor:pointer;float:right;margin:10px;\"></i><div id=\"menuContent\"></div>");
			$("#btnMenu").click(function(){
				top.$.jBox('get:/jeesite/a/sys/menu/treeselect;JSESSIONID=ae68ac8a5eb54d779c61f0b46c49a440', {title:'选择菜单', buttons:{'关闭':true}, width:300, height: 350, top:10});
				//if ($("#menuContent").html()==""){$.get("/jeesite/a/sys/menu/treeselect", function(data){$("#menuContent").html(data);});}else{$("#menuContent").toggle(100);}
			});
		}//-->
	</script>

</body></html>